package ModelLayer;

import DBLayer.DbProduct.ProductContainer;

public class OutPartOrder {
	int partId;
	int amount;
	int productId;
	ProductContainer p;
	
	public OutPartOrder(int amount, ProductContainer p) 
	{
		//Constructor using fields as parameters. 
		this.amount = amount;
		this.p = p;
	}
	

	public OutPartOrder()
	{
		//Constructor with none parameters.
	}
		
	public int getPartId() {
		//Returns partId
		return partId;
	}

	public void setPartId(int outPartId) {
		//Set partId
		this.partId = outPartId;
	}

	public int getAmount() {
		//Get amount
		return amount;
	}

	public void setAmount(int amount) {
		//Set amount
		this.amount = amount;
	}
	
	public int getProductId() {
		//get productId
		return productId;
	}
	
	public void setProductId(int productId) {
		//Set productId
		this.productId = productId;
	}

	public ProductContainer getP() {
		//Get productContainer
		return p;
	}

	public void setP(ProductContainer p) {
		//Set productContainer
		this.p = p;
	}
	
}